package com.sz.admin.dept.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.sz.admin.dept.pojo.dto.LeaderDTO;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * Fleet返回VO
 * </p>
 *
 * @author sz-admin
 * @since 2025-10-20
 */
@Data
@Schema(description = "Fleet返回VO")
public class FleetVO {

    @Schema(description = "部门ID")
    private Long id;

    @Schema(description = "部门名称")
    private String name;

    @Schema(description = "公司ID（父级ID）")
    private Long companyId;

    @Schema(description = "父级ID")
    private Long pid;

    @Schema(description = "层级")
    private Integer deep;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "是否有子级")
    private String hasChildren;

    @Schema(description = "是否锁定")
    private String isLock;

    @Schema(description = "删除标识")
    private String delFlag;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建人ID")
    private Long createId;

    @Schema(description = "更新人ID")
    private Long updateId;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "排班id")
    private Long scheduleId;

    @Schema(description = "负责人列表")
    private List<LeaderDTO> leaders;

}